import request from '@/utils/request'


export function list() {
    return request({
      url: '/admin/core/integralGrade/list',
      method: 'get'
    })
}


export function removeById(id) {
  return request({
    url: '/admin/core/integralGrade/remove/' + id,
    method: 'delete'
  })
}

export function save(integralGrade) {
  return request({
    url: '/admin/core/integralGrade/save',
    method: 'put',
    data: integralGrade
  })
}

export function getById(id) {
  return request({
    url: '/admin/core/integralGrade/get/' + id,
    method: 'get'
  })
}

export function updateById(integralGrade) {
  return request({
    url: '/admin/core/integralGrade/update',
    method: 'post',
    data: integralGrade
  })
}
